<% content_for :title do %>Singup<% end %>
<% crumbs 'Sing up'=> new_user_path %>
<p>Start your journey in this <%= link_to "gaming community", :root %>.</p>
<div class="small-zone">
  <h3>Sign up as a new user</h3>
  <% border 'border3' do %>
    <% @user.password = @user.password_confirmation = nil %>

    <%= error_messages_for :user %>
    <% form_for :user, :url => users_path do |f| -%>
    <p><%= label_tag 'login' %><br/>
    <%= f.text_field :login %></p>

    <p><%= label_tag 'email' %><br/>
    <%= f.text_field :email %></p>

    <p><%= label_tag 'password' %><br/>
    <%= f.password_field :password %></p>

    <p><%= label_tag 'password_confirmation', 'Confirm Password' %><br/>
    <%= f.password_field :password_confirmation %></p>

    <p><%= submit_tag 'Sign up' %> <%= link_to "Back", :back %></p>
    <% end -%>
  <% end %>
</div>
